﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" xmlns:ic="clr-namespace:Microsoft.Expression.Interactivity.Core;assembly=Microsoft.Expression.Interactions"
	x:Class="WEIShareSL.ResultItemTemplate"
	d:DesignWidth="953" d:DesignHeight="24">

	<Grid x:Name="LayoutRoot">
		<Border x:Name="myBorder" HorizontalAlignment="Stretch" Width="953" Background="#66DAF3FD" BorderBrush="#FFDAF3FD" BorderThickness="0,0,0,1" Padding="0,3" Cursor="Hand">
			<Grid>
				<Grid.ColumnDefinitions>
					<ColumnDefinition/>
					<ColumnDefinition/>
					<ColumnDefinition/>
                    <ColumnDefinition/>
					<ColumnDefinition Width="70"/>
					<ColumnDefinition Width="110"/>
					<ColumnDefinition/>
				</Grid.ColumnDefinitions>
				<StackPanel Margin="0,0,6,0" Orientation="Horizontal">
					<Border HorizontalAlignment="Left" VerticalAlignment="Top" Margin="10,0,6,0" CornerRadius="3">
						<Border.Effect>
							<DropShadowEffect Direction="271" ShadowDepth="1" BlurRadius="2" Color="#FF002850"/>
						</Border.Effect>
						<Border.Background>
							<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
								<GradientStop Color="#FFFFA102" Offset="0"/>
								<GradientStop Color="#FFFF7200" Offset="1"/>
							</LinearGradientBrush>
						</Border.Background>
						<TextBlock
							FontSize="12" TextWrapping="Wrap" Text="{Binding SystemScore}" FontWeight="Bold" Height="17" HorizontalAlignment="Center" Foreground="White" Margin="3,0" >
							<TextBlock.Effect>
								<DropShadowEffect BlurRadius="2" Direction="271" ShadowDepth="1" Color="#FF803500"/>
							</TextBlock.Effect>
						</TextBlock>
					</Border>
					<TextBlock Text="{Binding OverallColumnText}"
						FontSize="12" TextWrapping="Wrap" Width="105" />
				</StackPanel>
				<StackPanel Margin="9,0" Orientation="Horizontal" Grid.Column="1">
					<TextBlock
						FontSize="12" TextWrapping="Wrap" HorizontalAlignment="Left" VerticalAlignment="Top" Text="{Binding CpuScore}" FontWeight="Bold" Width="27" />
					<TextBlock Text="{Binding ProcessorColumnText}"
						FontSize="12" TextWrapping="Wrap" Width="111" />
				</StackPanel>
				<StackPanel Margin="9,0" Orientation="Horizontal" Grid.Column="2">
					<TextBlock
						FontSize="12" TextWrapping="Wrap" HorizontalAlignment="Left" VerticalAlignment="Top" Text="{Binding MemoryScore}" FontWeight="Bold" Width="27" />
					<TextBlock Text="{Binding MemoryColumnText}"
						FontSize="12" TextWrapping="Wrap" Width="111" />
				</StackPanel>
				<StackPanel Margin="9,0" Orientation="Horizontal" Grid.Column="3">
					<TextBlock
						FontSize="12" TextWrapping="Wrap" HorizontalAlignment="Left" VerticalAlignment="Top" Text="{Binding GraphicsScore}" FontWeight="Bold" Width="27" />
					<TextBlock Text="{Binding GraphicsColumnText}"
						FontSize="12" TextWrapping="Wrap" Width="111" />
                </StackPanel>
                <StackPanel Margin="9,0" Orientation="Horizontal" Grid.Column="4">

                    <TextBlock Text="{Binding TouchPointColumnText}"
						FontSize="12" TextWrapping="Wrap" Width="111" />
                </StackPanel>
                <StackPanel Margin="9,0" Orientation="Horizontal" Grid.Column="5">
					<TextBlock
						FontSize="12" TextWrapping="Wrap" HorizontalAlignment="Left" VerticalAlignment="Top" Text="{Binding GamingScore}" FontWeight="Bold" Width="27" />
					<TextBlock Text="{Binding GamingGraphicsColumnText}"
						FontSize="12" TextWrapping="Wrap" Width="95" />
				</StackPanel>
				<StackPanel Margin="9,0" Orientation="Horizontal" Grid.Column="6">
					<TextBlock
						FontSize="12" TextWrapping="Wrap" HorizontalAlignment="Left" VerticalAlignment="Top" Text="{Binding DiskScore}" FontWeight="Bold" Width="27" />
					<TextBlock Text="{Binding PrimaryHardDiskColumnText}"
						FontSize="12" TextWrapping="Wrap" Width="100" />
				</StackPanel>
			</Grid>
		</Border>
	</Grid>
</UserControl>